

import wsgiref.handlers

from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from BeautifulSoup import BeautifulSoup
import xmw



from xmw import error
import os
import urllib2, urllib
import uuid

from google.appengine.ext import webapp



class MainPage(xmw.RequestHandler):
    def get(self):
        e=error.REQUESTED_PAGE_NOT_EXIST(self.request.url)
        
        template_values = {
                               "e":e
                        }
        self.render_error(e)
        return 


def main():
    application = webapp.WSGIApplication(
                                       [('/no_page', MainPage)],
                                       debug=True)
    wsgiref.handlers.CGIHandler().run(application)

if __name__ == "__main__":
  main()
